package com.zhentao.market;

import com.zhentao.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "charge-market",path = "/market/api")
public interface ChargeMarketFeignApi {

    /*
    处理已经使用过的优惠券
 */
    @PostMapping("/user/coupon/status")
    public ResponseResult updateByIdCouponStatus(@RequestBody List<Integer> couponIds);
}
